package cn.edu.pku.tools;

import java.io.IOException;
import java.io.InputStream;

public class Input
{
  byte[] data = null;

  public Input(InputStream paramInputStream)
  {
    try
    {
      paramInputStream.read(this.data);
      return;
    }
    catch (IOException localIOException)
    {
      localIOException.printStackTrace();
    }
  }

  public byte[] getData()
  {
    return this.data;
  }
}